﻿
using System;
namespace AMM.CustomWinControls {
    /// <summary>
    /// Extend properties
    /// </summary>
    public partial class DataGridViewEx {

        #region DataGridView

        /// <summary>
        /// Trigger Enter event when focus in
        /// </summary>
        public EnterCustomPropertyEx EnterEx { get; set; }
        /// <summary>
        /// Whether clear selection when focus out
        /// </summary>
        public bool IsClearSelectionWhenLeaveEx { get; set; }
        /// <summary>
        /// Whether echo row number in row header cell
        /// </summary>
        public bool IsShowRowHeaderNumberEx { get; set; }
        /// <summary>
        /// Will set header text by reflecting DescriptionAttribute from ViewModel
        /// </summary>
        public Type DataGridViewModelType { get; set; }
        /// <summary>
        /// Whether add a column for selecting
        /// </summary>
        public bool IsShowCheckboxForSelected { get; set; }

        #endregion

    }
}
